home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat4
/
services.z
/
services
Wrap
Text File
|
1998-10-20
|
3KB
|
133 lines
SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444)))) SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))
NNNNAAAAMMMMEEEE
services - service name database
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The ////eeeettttcccc////sssseeeerrrrvvvviiiicccceeeessss file contains information regarding the known services
available in the Internet. For each service a single line should be
present with the following information:
+o official service name
+o port number
+o protocol name
+o aliases (optional)
Items are separated by any number of blanks and/or tab characters. The
port number and protocol name are considered a single _i_t_e_m; a ``/'' is
used to separate the port and protocol (e.g. ``512/tcp''). A ``#''
indicates the beginning of a comment; characters up to the end of the
line are not interpreted by routines which search the file.
Service names may contain any printable character other than a field
delimiter, newline, or comment character. For example,
smtp 25/tcp mail
DDDDEEEETTTTEEEERRRRMMMMIIIINNNNIIIINNNNGGGG UUUUSSSSAAAAGGGGEEEE
It is sometimes useful to be able to determine which processes are using
a particular port. This can be accomplished using the _f_u_s_e_r(1M) command.
For example, in order to see which processes are listening on TCP port
25, the command
fuser 25/tcp
can be used. Note that _f_u_s_e_r only accepts service names in their numeric
form; symbolic names such as ``smtp'' cannot be used.
FFFFIIIILLLLEEEESSSS
/etc/services
If the NFS option is installed and NIS is running, the _g_e_t_s_e_r_v_e_n_t(3N)
library routines only access this file if no entry was found in the NIS
database.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
fuser(1M), getservent(3N)
PPPPaaaaggggeeee 1111
SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444)))) SSSSEEEERRRRVVVVIIIICCCCEEEESSSS((((4444))))
BUGS
A name server should be used instead of a static file.
PPPPaaaaggggeeee 2222